package com.fyk.study.exp;

import lombok.Getter;

@Getter
public class BusinessException extends RuntimeException{
    private String code;/** 结果状态 ,具体状态码参见枚举类ReturnCodeEnum.java*/
    private String message;

    public BusinessException(String code, String message)
    {
        this.code = code;
        this.message = message;
    }
}
